package com.yuyou.fn.report.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 
 *
 */
@TableName(value = "student_reg_detail")
public class StudentRegDetail implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<StudentRegDetail> createExample(){
		return new Example<StudentRegDetail>(StudentRegDetail.class);
	}

	/**  */
	@TableId(value = "reg_id")
	private Long regId;

	/**  */
	@TableField(value = "class_id")
	private Long classId;

	/**  */
	@TableField(value = "class_name")
	private String className;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/**  */
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	/**  */
	@TableField(value = "bus_team_name")
	private String busTeamName;

	/**  */
	@TableField(value = "grade_id")
	private Long gradeId;

	/**  */
	@TableField(value = "grade_name")
	private String gradeName;

	/**  */
	@TableField(value = "subject_id")
	private Long subjectId;

	/**  */
	@TableField(value = "subject_name")
	private String subjectName;

	/**  */
	@TableField(value = "period_id")
	private Long periodId;

	/**  */
	@TableField(value = "period_name")
	private String periodName;

	/** 每个班的老师，只统计上课讲数最多的老师。如果出现一样的情况，取最后上课的老师 */
	@TableField(value = "teacher_id")
	private Long teacherId;

	/**  */
	@TableField(value = "teacher_name")
	private String teacherName;

	/**  */
	@TableField(value = "operator_id")
	private Long operatorId;

	/** 操作人 */
	private String operator;

	/** 班主任id */
	@TableField(value = "senior_id")
	private Long seniorId;

	/**  */
	@TableField(value = "senior_name")
	private String seniorName;

	/** 咨询师id */
	@TableField(value = "counselor_id")
	private Long counselorId;

	/**  */
	@TableField(value = "counselor_name")
	private String counselorName;

	/**  */
	@TableField(value = "start_course_time")
	private Date startCourseTime;

	/**  */
	@TableField(value = "class_type")
	private Integer classType;

	/**  */
	@TableField(value = "studying_time")
	private String studyingTime;

	/**  */
	@TableField(value = "campus_id")
	private Long campusId;

	/**  */
	@TableField(value = "campus_name")
	private String campusName;

	/**  */
	@TableField(value = "room_id")
	private Long roomId;

	/**  */
	@TableField(value = "room_name")
	private String roomName;

	/** 学生电话 */
	@TableField(value = "student_phone_no")
	private String studentPhoneNo;

	/** 段次 */
	@TableField(value = "segment_no")
	private Integer segmentNo;

	/**  */
	@TableField(value = "student_id")
	private Long studentId;

	/**  */
	@TableField(value = "student_name")
	private String studentName;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/**  */
	@TableField(value = "lecture_num")
	private Integer lectureNum;

	/**  */
	@TableField(value = "job_nature")
	private Integer jobNature;

	/**  */
	@TableField(value = "start_amount")
	private Integer startAmount;

	/**  */
	@TableField(value = "end_amount")
	private Integer endAmount;

	/**  */
	@TableField(value = "total_amount")
	private BigDecimal totalAmount;

	/** 原支付金额（未优惠之前） */
	@TableField(value = "src_total_amount")
	private BigDecimal srcTotalAmount;

	/** 支付金额  */
	@TableField(value = "pay_amount")
	private BigDecimal payAmount;

	/** 注册状态 0：在读 1：转班 2：退账户 3：退班退费 4:无效 */
	@TableField(value = "reg_status")
	private Integer regStatus;

	/** 缴费状态 0:未缴费 1:欠费 2:已缴费 */
	@TableField(value = "charging_status")
	private Integer chargingStatus;

	/** 0 新生，1老生，2续读生 */
	@TableField(value = "student_state")
	private Integer studentState;


	/**  */
	@TableField(value = "student_no")
	private String studentNo;

	/**  */
	@TableField(value = "student_grade_name")
	private String studentGradeName;

	/** 优惠说明 */
	@TableField(value = "discount_reason")
	private String discountReason;

	/**  */
	@TableField(value = "course_order_id")
	private Long courseOrderId;

	/**  */
	private String extra;

	/** 初始开始讲数 */
	@TableField(value = "init_start_amount")
	private Integer initStartAmount;

	/** 初始结束讲数 */
	@TableField(value = "init_end_amount")
	private Integer initEndAmount;

	/** 退费金额 */
	@TableField(value = "refund_amount")
	private BigDecimal refundAmount;

	/**  */
	@TableField(value = "pay_time")
	private Date payTime;

	/**  */
	@TableField(value = "course_id")
	private Long courseId;

	/** 课程名称 */
	@TableField(value = "course_name")
	private String courseName;

	/** 产品ID */
	@TableField(value = "product_id")
	private Long productId;

	/** 产品名称 */
	@TableField(value = "product_name")
	private String productName;

	/** 班级编号 */
	@TableField(value = "class_no")
	private String classNo;

	/** 区域名称 */
	@TableField(value = "area_team_name")
	private String areaTeamName;

	/** 报名来源 0：线下 1：线上 */
	@TableField(value = "reg_from")
	private Integer regFrom;

	public Long getRegId() {
		return this.regId;
	}

	public void setRegId(Long regId) {
		this.regId = regId;
	}

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public String getClassName() {
		return this.className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public Long getAreaTeamId() {
		return this.areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public Long getBusTeamId() {
		return this.busTeamId;
	}

	public void setBusTeamId(Long busTeamId) {
		this.busTeamId = busTeamId;
	}

	public String getBusTeamName() {
		return this.busTeamName;
	}

	public void setBusTeamName(String busTeamName) {
		this.busTeamName = busTeamName;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Long getSubjectId() {
		return this.subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectName() {
		return this.subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public Long getPeriodId() {
		return this.periodId;
	}

	public void setPeriodId(Long periodId) {
		this.periodId = periodId;
	}

	public String getPeriodName() {
		return this.periodName;
	}

	public void setPeriodName(String periodName) {
		this.periodName = periodName;
	}

	public Long getTeacherId() {
		return this.teacherId;
	}

	public void setTeacherId(Long teacherId) {
		this.teacherId = teacherId;
	}

	public String getTeacherName() {
		return this.teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public Long getOperatorId() {
		return this.operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Long getSeniorId() {
		return this.seniorId;
	}

	public void setSeniorId(Long seniorId) {
		this.seniorId = seniorId;
	}

	public String getSeniorName() {
		return this.seniorName;
	}

	public void setSeniorName(String seniorName) {
		this.seniorName = seniorName;
	}

	public Long getCounselorId() {
		return this.counselorId;
	}

	public void setCounselorId(Long counselorId) {
		this.counselorId = counselorId;
	}

	public String getCounselorName() {
		return this.counselorName;
	}

	public void setCounselorName(String counselorName) {
		this.counselorName = counselorName;
	}

	public Date getStartCourseTime() {
		return this.startCourseTime;
	}

	public void setStartCourseTime(Date startCourseTime) {
		this.startCourseTime = startCourseTime;
	}

	public Integer getClassType() {
		return this.classType;
	}

	public void setClassType(Integer classType) {
		this.classType = classType;
	}

	public String getStudyingTime() {
		return this.studyingTime;
	}

	public void setStudyingTime(String studyingTime) {
		this.studyingTime = studyingTime;
	}

	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return this.campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Long getRoomId() {
		return this.roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public String getRoomName() {
		return this.roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public String getStudentPhoneNo() {
		return this.studentPhoneNo;
	}

	public void setStudentPhoneNo(String studentPhoneNo) {
		this.studentPhoneNo = studentPhoneNo;
	}

	public Integer getSegmentNo() {
		return this.segmentNo;
	}

	public void setSegmentNo(Integer segmentNo) {
		this.segmentNo = segmentNo;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return this.studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getLectureNum() {
		return this.lectureNum;
	}

	public void setLectureNum(Integer lectureNum) {
		this.lectureNum = lectureNum;
	}

	public Integer getJobNature() {
		return this.jobNature;
	}

	public void setJobNature(Integer jobNature) {
		this.jobNature = jobNature;
	}

	public Integer getStartAmount() {
		return this.startAmount;
	}

	public void setStartAmount(Integer startAmount) {
		this.startAmount = startAmount;
	}

	public Integer getEndAmount() {
		return this.endAmount;
	}

	public void setEndAmount(Integer endAmount) {
		this.endAmount = endAmount;
	}

	public BigDecimal getTotalAmount() {
		return this.totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	public BigDecimal getSrcTotalAmount() {
		return this.srcTotalAmount;
	}

	public void setSrcTotalAmount(BigDecimal srcTotalAmount) {
		this.srcTotalAmount = srcTotalAmount;
	}

	public BigDecimal getPayAmount() {
		return this.payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public Integer getRegStatus() {
		return this.regStatus;
	}

	public void setRegStatus(Integer regStatus) {
		this.regStatus = regStatus;
	}

	public Integer getChargingStatus() {
		return this.chargingStatus;
	}

	public void setChargingStatus(Integer chargingStatus) {
		this.chargingStatus = chargingStatus;
	}

	public Integer getStudentState() {
		return this.studentState;
	}

	public void setStudentState(Integer studentState) {
		this.studentState = studentState;
	}


	public String getStudentNo() {
		return this.studentNo;
	}

	public void setStudentNo(String studentNo) {
		this.studentNo = studentNo;
	}

	public String getStudentGradeName() {
		return this.studentGradeName;
	}

	public void setStudentGradeName(String studentGradeName) {
		this.studentGradeName = studentGradeName;
	}

	public String getDiscountReason() {
		return this.discountReason;
	}

	public void setDiscountReason(String discountReason) {
		this.discountReason = discountReason;
	}

	public Long getCourseOrderId() {
		return this.courseOrderId;
	}

	public void setCourseOrderId(Long courseOrderId) {
		this.courseOrderId = courseOrderId;
	}

	public String getExtra() {
		return this.extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	public Integer getInitStartAmount() {
		return this.initStartAmount;
	}

	public void setInitStartAmount(Integer initStartAmount) {
		this.initStartAmount = initStartAmount;
	}

	public Integer getInitEndAmount() {
		return this.initEndAmount;
	}

	public void setInitEndAmount(Integer initEndAmount) {
		this.initEndAmount = initEndAmount;
	}

	public BigDecimal getRefundAmount() {
		return this.refundAmount;
	}

	public void setRefundAmount(BigDecimal refundAmount) {
		this.refundAmount = refundAmount;
	}

	public Date getPayTime() {
		return this.payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Long getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Long courseId) {
		this.courseId = courseId;
	}

	public String getCourseName() {
		return this.courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Long getProductId() {
		return this.productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getClassNo() {
		return this.classNo;
	}

	public void setClassNo(String classNo) {
		this.classNo = classNo;
	}

	public String getAreaTeamName() {
		return this.areaTeamName;
	}

	public void setAreaTeamName(String areaTeamName) {
		this.areaTeamName = areaTeamName;
	}

	public Integer getRegFrom() {
		return this.regFrom;
	}

	public void setRegFrom(Integer regFrom) {
		this.regFrom = regFrom;
	}

}
